package com.example.im.immsgdemo;

import android.app.Application;
import android.content.Context;

import io.rong.imkit.RongIM;

public class MainApp extends Application {

    public static MainApp instance;


    @Override
    public void onCreate() {
        super.onCreate();

        instance = this;

        RongIM.init(this, "pvxdm17jpovkr");

        ImChatManager.getInstance().init();
    }

    public static Context getContext() {
        return instance.getApplicationContext();
    }

}
